Introduction

The stucture of our homework will be the following:
- Introduction Vidéo
- Group member presentation
- Rmarkdown exercices


Group Member

Amina

Amina

Hello ! I’m Amina Mohammed, I’m following my last semester of course before writing my thesis. I’m super excited to follow this class and i expect to learn a bunch of new tools in order to develop new skills. 😄


Apart from my student life, I love to express my creativity through poterry. I love the process of creating a beautiful, sculptural and functional pieces with my own hands. I will give an extra point to this activity for the feeling of accomplishment; it feels incredible. 😍💗

If i had to choose emoji to describe myself I would certainly be: ☕📚 🐱 🍱 🍰 🍿


My fav quote would be :

Words can be like X-rays, if you use them properly—they’ll go through anything. You read and you’re pierced.

—Aldous Huxley, Brave New World



You can find in the table bellow the list of all my classes this semester

Classes Schedule
Supply Chain Monday from 8h30 - 12h00
Programming tools in DS Tuesday from 9h00 - 12h00
IMC Tuesday from 14h15 - 18h00
Project in DA Thurday from 8h30 - 12h00
Production Control Thurday from 14h00 - 18h00 (7 first week)
Risk Analytics Thurday from 14h00 - 18h00 (7 last week)

I don’t have class on Wednesday and Friday, But i have some hectic days starting from 8am to 6pm.

this slowpoke moves


Edward Tandia

Edward

Hey there! I am Edward Tandia, currently pursuing a master degree in Business analytics. As my friend Amina, this is also my last “normal” semester before starting the master thesis. I’m looking forward to learning new skills and improve myself in programming with R. I am 100% motivated and I truly believe that this semester will be memorable. 😄


My Hobbies?? Well, I am quite an open mind actually. I love to discover new topics, do sport,improve myself regardless the subject. Basically, I always seek self-improvement. 😍💗

SUCCESS

My favortie quote is :

Each problem has its own solution.

— my mum

If i had to choose one emoji to represent myself, it would be this one: 😈

Classes Schedule
Supply Chain Monday from 8h30 - 12h00
Programming tools in DS Tuesday from 9h00 - 12h00
Text mining Wednesday from 8h30 - 12h00
Individual Behavior in Digital Environments Wednesday from 14h15 - 18h00
Project in DA Thurday from 8h30 - 12h00

Joost Dijkstra

Joost

Salut! My name is Joost Dijkstra and coming from the Netherlands. I am doing my QTEM exchange here, which stands for Qualitative Techniques for Economics and Management. This program gave me a lot of freedom to pursue my interests in the quantitative field. Giving me the opportunity to follow this course.


Next to my academic life, I of course have hobbies. Although I have many, I think the one I am looking out for the most is skiing, as the season is almost starting. I love how it can be both strenuous and relaxing at the same time.⛷🎿

My favortie quote is :

Have you ever had a dream that you, um, you had, your, you- you could, you’ll do, you- you wants, you, you could do so, you- you’ll do, you could- you, you want, you want them to do you so much you could do anything?

— Stuttering meme kid

Stuttering kid meme

Some emoji’s that would describe me are: 🌞🍻🏑🚴

Time Monday Tuesday Wednesday Thursday Friday
08:30 - 12:00 Programming Tools in Data Science Text Mining
12:30 - 14:00 French Class
14:15 - 18:00 Data Mining & Machine Learning Optimization Methods in Management Science

RMarkdown Syntax

1.Show an example where the chunk option cache = T leads to a misleading answer.

Caching option can be really usefull however it can sometimes lead to missleading. Indeed, if a code is time consuming due to long computations or plots that are taking too long to generate, we can use knitr caching to improve performance. However, if codes are linked between eachother, when we modify one we have to observe that the code with chunk cache option are also update, otherwise, the code will always take into consideration the old cache that we “register”.

x <- sample(1:100, 100)
print(x)
#>   [1]  91  43  67  55  73   3  92   7  32  65  15  34  59  46  16  10
#>  [17]  51  19  53  22  30  47   6  29  50  54  28  13  38  56  60  75
#>  [33]  82  97  70  76  85  81 100   4  88  14  17  68  62  42   5  52
#>  [49]  78  48  83  72  90  49  96  86   9  12  63  57  37  93  40  20
#>  [65]  33  58  41  80  35  26  89  98   8   1   2  18  79  99  95  24
#>  [81]  11  21  25  87  31  66  44  39  74  84  45  94  71  77  61  36
#>  [97]  64  69  27  23
(e<-2*x)
#>   [1] 182  86 134 110 146   6 184  14  64 130  30  68 118  92  32  20
#>  [17] 102  38 106  44  60  94  12  58 100 108  56  26  76 112 120 150
#>  [33] 164 194 140 152 170 162 200   8 176  28  34 136 124  84  10 104
#>  [49] 156  96 166 144 180  98 192 172  18  24 126 114  74 186  80  40
#>  [65]  66 116  82 160  70  52 178 196  16   2   4  36 158 198 190  48
#>  [81]  22  42  50 174  62 132  88  78 148 168  90 188 142 154 122  72
#>  [97] 128 138  54  46
(d <- 2*x)
#>   [1] 182  86 134 110 146   6 184  14  64 130  30  68 118  92  32  20
#>  [17] 102  38 106  44  60  94  12  58 100 108  56  26  76 112 120 150
#>  [33] 164 194 140 152 170 162 200   8 176  28  34 136 124  84  10 104
#>  [49] 156  96 166 144 180  98 192 172  18  24 126 114  74 186  80  40
#>  [65]  66 116  82 160  70  52 178 196  16   2   4  36 158 198 190  48
#>  [81]  22  42  50 174  62 132  88  78 148 168  90 188 142 154 122  72
#>  [97] 128 138  54  46


2. Simulate 1000 random samples from an exponential distribution with mean \(\lambda = 1\) using the function rexp(). Store these 1000 values in a vector called x. Then, compute the empirical median, mean and variance of x. Are these results different from \(log(2)/\lambda\), \(1/\lambda\) and \(1/\lambda^2\) (their respective theoretical values)? Is this result surprising? Justify your answer.

To do so, we have use set.seed and rexp()function. We have the following table:

Empirical values with lambda = 1 x log(2)/x 1/x^2
Median 0.624 0.693 2.57e+00
Mean 0.974 5.948 8.54e+03
Variance 0.994 4073.937 6.52e+10


3. Repeat the same experiment with \(\lambda = 5\), display the code in the HTML file and discuss the results.

Empirical values with lambda = 5 x
Median 0.142
Mean 0.204
Variance 0.042

WE have an exponential distribution We get close results :


4. Include a graph showing the histogram of x (make sure to include a caption to this figure). What happens if you increase the number of bins to 200?

hist(y,xlab='Values',main = 'Exp distribution with lambda = 5')


hist(y,breaks= 200, xlab='Values',main = 'Exp distribution with lambda = 5')

We notice that the histogram with bins equal to 200, is more accurate. It shows some volatility between values 0 - 0.4 and gaps between values 1-1.2. The overall trend is still right queued and downward.

5. Include the following equation: eq \[f(x;p,q) = \frac{ \Gamma(p+q)}{\Gamma(p)\Gamma(q)} x^{p-1}(1-x)^{q-1}, 0 < x < 1\]


6. Include the following in-line equation: eq2

In line we have : \(\mathbb{P}\{t \in [0, T]: X(t) > u \ as \ u \to \infty \}\)


7. Include the following text in purple: “It is change, continuing change, inevitable change, that is the dominant factor in society today. No sensible decision can be made any longer without….”, Isaac Asimov.

“It is change, continuing change, inevitable change, that is the dominant factor in society today. No sensible decision can be made any longer without….”, Isaac Asimov.


8. Include a “Click here” button with hide/unhide functionality.

Shiny applications not supported in static R Markdown documents

9. Include a “color box”” with some text.

Page Title
    Hello ! We're the group f